//引入Vue
import Vue from 'vue'
//引入App
import App from './App.vue'

import vueResource from 'vue-resource'

import store from './store'
// 关闭生产提示
Vue.config.productionTip = false

Vue.use(vueResource)

// 创建VM
const vm =new Vue({
    el:'#app',
    render:h=>h(App),
    store,
    beforeCreate(){
        Vue.prototype.$bus=this;
    }
})
//console.log(vm);